For example, Ubuntu's "brown". This is patched into gnome-shell for Ubuntu
but if you forget the patch then it's not worthy of a crash. Just pick a
colour and issue a warning.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3892>
break;
default:
- g_assert_not_reached ();
+ g_warning ("Unsupported accent color: %d", accent_color);
+ cogl_color_from_string (&context->accent_color, ACCENT_COLOR_BLUE);
+ break;
}
cogl_color_from_string (&context->accent_fg_color, ACCENT_FG_COLOR);